#include <stdio.h>
#include <string.h>
#include "l_structure.h"


void accessStructureMembers(){
	struct Books book1;
	struct Books book2;

	/* book 1 specification  */
	strcpy( book1.title, "C Programming"  );
	strcpy( book1.author, "Nuha Ali" );
	strcpy( book1.subject, "C Programming Tutorial"  );
	book1.book_id = 6495407;

	/* book 2 specification  */
	strcpy( book2.title, "Telecom Billing" );
	strcpy( book2.author, "Zara Ali"  );
	strcpy( book2.subject, "Telecom Billing Tutorial" );

	/* print book1 info  */
	printf("book 1 title: %s, author: %s, subject: %s, book_id: %d\n",
		   book1.title, book1.author, book1.subject, book1.book_id);
	/* print book2 info  */
	printf("book 2 title: %s, author: %s, subject: %s, book_id: %d\n",
		   book2.title, book2.author, book2.subject, book2.book_id);
}
